package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;


public class CSDeclarationDTO extends java.lang.Object implements IsSerializable, ICSDTO {


    // Fields    
     
     private long id;
     private long groupID;
     private long subgroupTypeID;
     private long subjectID;
//     private Long subgroupsAmount;
     private Integer duration;
     private Integer toSchedule;
     


    public CSDeclarationDTO(long id, long groupID, long subgroupTypeID,
//			long subjectID, Long subgroupsAmount, Integer duration, Integer toSchedule) {
    		long subjectID, Integer duration, Integer toSchedule) {
		super();
		this.id = id;
		this.groupID = groupID;
		this.subgroupTypeID = subgroupTypeID;
		this.subjectID = subjectID;
//		this.subgroupsAmount = subgroupsAmount;
		this.duration = duration;
		this.toSchedule = toSchedule;
	}



	/** default constructor */
    public CSDeclarationDTO() {
    }


	public String toString() {
		String result = "" +
			"[ " + CSDeclarationDTO.class + "]" +
			"id: " + id +
			", groupID: " + groupID +
			", subgroupTypeID: " + subgroupTypeID +
			", subjectID: " + subjectID +
			", subgroupsAmountID: " + subgroupTypeID +
			", duration: " + duration; 
		return result;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}



	public long getGroupID() {
		return groupID;
	}



	public void setGroupID(long groupID) {
		this.groupID = groupID;
	}



	public long getSubgroupTypeID() {
		return subgroupTypeID;
	}



	public void setSubgroupTypeID(long subgroupTypeID) {
		this.subgroupTypeID = subgroupTypeID;
	}



	public long getSubjectID() {
		return subjectID;
	}



	public void setSubjectID(long subjectID) {
		this.subjectID = subjectID;
	}



//	public Long getSubgroupsAmount() {
//		return subgroupsAmount;
//	}
//
//
//
//	public void setSubgroupsAmount(Long subgroupsAmount) {
//		this.subgroupsAmount = subgroupsAmount;
//	}



	public Integer getDuration() {
		return duration;
	}



	public void setDuration(Integer duration) {
		this.duration = duration;
	}



	public Integer getToSchedule() {
		return toSchedule;
	}



	public void setToSchedule(Integer toSchedule) {
		this.toSchedule = toSchedule;
	}










}